package com.infore.siteManagement.entity;

import java.io.Serializable;
import javax.persistence.*;

import org.hibernate.annotations.GenericGenerator;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * The persistent class for the EQUIPMENTTYPE database table.
 * 设备类型表
 * llf
 */
@Entity
@Table(name = "EQUIPMENT_TYPE")
@NamedQuery(name="EquipmentType.findAll", query="SELECT e FROM EquipmentType e")
public class EquipmentType implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="EQUIPMENT_TYPE_ID")
	@GeneratedValue(generator = "uuidGenerator")
	@GenericGenerator(name = "uuidGenerator", strategy = "uuid") // UUID生成策略
	private String equipmentTypeId;

	/**录入人**/
	@Column(name="CREATE_PEOPLE")
	private String createPeople;

	/**录入时间**/
	@Temporal(TemporalType.TIMESTAMP)
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@Column(name="CREATE_TIME")
	private Date createTime;

	/**仪器分类编码**/
	@Column(name="EQUIPMENT_TYPE_CODE")
	private String equipmentTypeCode;

	/**仪器分类名称**/
	@Column(name="EQUIPMENT_TYPE_NAME")
	private String equipmentTypeName;

	/**最新修改人**/
	@Column(name="LAST_UPDATE_PEOPLE")
	private String lastUpdatePeople;

	/**最新修改时间**/
	@Temporal(TemporalType.TIMESTAMP)
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@Column(name="LAST_UPDATE_TIME")
	private Date lastUpdateTime;

	@Column(name = "REMARK")
	private String remark;

	@Column(name = "STATUS")
	private Integer status;

	public EquipmentType() {
	}

	public String getEquipmentTypeId() {
		return this.equipmentTypeId;
	}

	public void setEquipmentTypeId(String equipmentTypeId) {
		this.equipmentTypeId = equipmentTypeId;
	}

	public String getCreatePeople() {
		return this.createPeople;
	}

	public void setCreatePeople(String createPeople) {
		this.createPeople = createPeople;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getEquipmentTypeCode() {
		return this.equipmentTypeCode;
	}

	public void setEquipmentTypeCode(String equipmentTypeCode) {
		this.equipmentTypeCode = equipmentTypeCode;
	}

	public String getEquipmentTypeName() {
		return this.equipmentTypeName;
	}

	public void setEquipmentTypeName(String equipmentTypeName) {
		this.equipmentTypeName = equipmentTypeName;
	}

	public String getLastUpdatePeople() {
		return this.lastUpdatePeople;
	}

	public void setLastUpdatePeople(String lastUpdatePeople) {
		this.lastUpdatePeople = lastUpdatePeople;
	}

	public Date getLastUpdateTime() {
		return this.lastUpdateTime;
	}

	public void setLastUpdateTime(Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}